package com.longagoewk.springboot;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Configuration;

@Configuration
public class LogConfig {
    private static Logger log = LoggerFactory.getLogger(LogConfig.class);
    public static void info(String message) {
        log.info(message);
    }
    public static void error(String message){
        log.error(message);
    }
    public static void warning(String message){
        log.warn(message);
    }

}
